package org.jeecg.modules.order.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 程序员结算信息
 * @Author: jeecg-boot
 * @Date:   2023-09-01
 * @Version: V1.0
 */
@Data
@TableName("b_programmer_bill_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="b_programmer_bill_info对象", description="程序员结算信息")
public class BProgrammerBillInfo implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    
    /**订单ID*/
    @Excel(name = "订单ID", width = 15)
    @ApiModelProperty(value = "订单ID")
    private String orderId;
    
    /**程序员ID*/
    @Excel(name = "程序员ID", width = 15)
    @ApiModelProperty(value = "程序员ID")
    private String programmerId;
    
    /**结算金额*/
    @Excel(name = "结算金额", width = 15)
    @ApiModelProperty(value = "结算金额")
    private BigDecimal billAmount;
    
    /**结算类型*/
    @Excel(name = "结算类型", width = 15, dicCode = "bill_type")
    @ApiModelProperty(value = "结算类型")
    private String billType;
    
    /**支付方式*/
    @Excel(name = "支付方式", width = 15, dicCode = "payment_method")
    @ApiModelProperty(value = "支付方式")
    private String paymentMethod;
    
    /**结算日期*/
    @Excel(name = "结算日期", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结算日期")
    private Date billDate;
    
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remarks;
    
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    
    /**逻辑删除标识*/
    @TableLogic(value = "0", delval = "1")
    @ApiModelProperty(value = "逻辑删除标识(0-正常,1-已删除)")
    private String delFlag = "0";
    
    /**订单编号*/
    @TableField(exist = false)
    @Excel(name = "订单编号", width = 15)
    private String orderCode;
    
    /**程序员姓名*/
    @TableField(exist = false)
    @Excel(name = "程序员姓名", width = 15)
    private String programmerName;
} 